package com.harmonyos.samples.bean.repository;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.harmonyos.samples.bean.code.CodeInfo;

import javax.swing.*;

public class RepositoriesInfo {
    // 名称
    private String name = "";
    // 编号
    private String id = "";
    // gif图片
    private String image = "";
    // 简介
    private String description = "";
    // 代码相关信息
    @JsonIgnoreProperties(ignoreUnknown = true)
    private CodeInfo codeInfo;
    private ImageIcon icon;
    private String localPath = "";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public CodeInfo getCodeInfo() {
        return codeInfo;
    }

    public void setCodeInfo(CodeInfo codeInfo) {
        this.codeInfo = codeInfo;
    }

    public ImageIcon getIcon() {
        return icon;
    }

    public void setIcon(ImageIcon icon) {
        this.icon = icon;
    }

    public String getLocalPath() {
        return localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }
}

